/*
 * Copyright (c) zhg2yqq.com Corp.
 * All Rights Reserved.
 */
package com.zhg2yqq.wheels.log.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.alibaba.fastjson2.JSON;
import com.zhg2yqq.wheels.log.dto.LogInfoDTO;

/**
 * 默认控制台输出操作日志
 *
 * @author zhg2yqq, 2022年11月30日
 * @version zhg2yqq v1.0
 */
public class DefaultOperationLogService implements IOperationLogService {
    private Logger logger = LoggerFactory.getLogger(DefaultOperationLogService.class);

    @Override
    public void saveOperationLog(LogInfoDTO logInfo) {
        logger.info(JSON.toJSONString(logInfo));
    }

}
